package com.iot;

import com.iot.util.AmqpClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.iot.mapper")
public class MybatisnewApplication {
	public static void main(String[] args) throws Exception {
		SpringApplication.run(MybatisnewApplication.class, args);
		new AmqpClient().startAmqp();
	}
}
